<?php

namespace Admin\Controller;

use Think\Controller;
use Admin\Model\TougaoModel;

class PublicController extends Controller {
	public function autoToArticle() {
		$tougao = new TougaoModel ();
		$rs = $tougao->autoToArticle ();
		echo $rs ['msg'];
		if ($rs ['status']) {
			die ( ' 操作成功' );
		} else {
			die ( ' 操作失败!' );
		}
	}
	public function index() {
		echo 'public';
	}
}